package net.maku.convert;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import net.maku.bean.vo.WebUserVO;
import net.maku.entity.WebUserEntity;

import java.util.List;

/**
* 用户信息表
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2024-09-02
*/
@Mapper
public interface WebUserConvert {
    WebUserConvert INSTANCE = Mappers.getMapper(WebUserConvert.class);

    WebUserEntity convert(WebUserVO vo);

    WebUserVO convert(WebUserEntity entity);

    List<WebUserVO> convertList(List<WebUserEntity> list);

}